package com.example.lemonservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication()
@MapperScan("com.example.lemonservice.mapper")
@ComponentScan(basePackages = {"com.example.*"},
        excludeFilters = {
                @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {})})
public class LemonServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(LemonServiceApplication.class, args);
    }

}
